package com.tutorialspoint.base;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MyBase {
	protected static void closeContext(ApplicationContext context) {
		((ClassPathXmlApplicationContext)context).close();
	}
}
